from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

# SQLALCHEMY_DATABASE_URL = "postgresql://user:password@postgresserver/db"
sql_url = "mysql+pymysql://root:1@192.168.1.99:3306/local"
engine = create_engine(sql_url,max_overflow=5)
SessionLocal = sessionmaker(autocommit=False,autoflush=False,bind=engine)
session = SessionLocal()
